package cn.trycat;

import cn.trycat.config.YmlConfigUtil;
import com.fasterxml.jackson.core.JsonProcessingException;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Import;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@Import({YmlConfigUtil.class})
public class DemoApplication {

//    @Autowired
//    private static Remote remote;

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);

//        System.out.println(remote);

        YmlConfigUtil.updataUrl();


    }
}
